package com.yix.admin.modules.system.repository;

import com.yix.admin.modules.system.entity.SysDictDetail;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @author wdx
 * @version 1.0
 * @Description TODO
 * @date 2021/2/5 13:59
 */
public interface SysDictDetailRepository extends JpaRepository<SysDictDetail, Long>, JpaSpecificationExecutor<SysDictDetail> {

    /**
     * 根据字典名称查询
     * @param name /
     * @return /
     */
    List<SysDictDetail> findByDictName(String name);
}
